package net.zhengxinyun.performance.mapper.departClass;

import net.zhengxinyun.performance.entity.DepartClass;
import net.zhengxinyun.performance.filter.DepartClassFilter;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DepartClassMapper {

    //主要查询入口
    List<DepartClassFilter> query(DepartClassFilter filter);
    Integer queryForCount(DepartClassFilter filter);
    //保存
    int insertSelective(DepartClass departClass);

    int updateByPrimaryKeySelective(DepartClass departClass);

    DepartClass selectByPrimaryKey(Long id);

    int deleteByPrimaryKey(Long id);

}
